package com.fan.analysis.module.show.domain.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fan.analysis.common.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 通话记录
 *
 * @author fan
 * @date 2021/10/18 18:03
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "call_record_complete")
public class CallRecordCompleteEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -6787726615141147044L;

    private String callingNum;
    private String calledNum;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间，格式：yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    private String lastTime;
    private String userLocation;
    private String mobileType;
    private Integer flag;
}
